package com.aaa.phone.systemconst;

/**
 * @author 王璐
 */
public interface ISystemConst {
    /**
     * session
     */
    String EMP_IN_SESSION = "emp";
    /**
     * emp session的最大时长为1800s
     * */
    int EMP_SESSION_MAX_INACTIVE_INTERVAL =30*60;
    /**
     * 成功码
     */
    int SUCCESS_CODE = 100;
    /**
     * 失败码
     */
    int DEFEAT_CODE = 200;
    /**
     * 判断是否大于0
     */
    final  int ZERO = 0;
    /**
     *常量1
     * */
    final int ONE = 1;
    /**
     *常量2
     * */
    final int TWO = 2;
    /**
     *常量3
     * */
    final int THREE = 3;
    /**
     *常量4
     * */
    final int FOUR = 4;
    /**
     *用户已注册
     */
    int USER_EXISTED = 201;
    /**
     *密码错误
     */
    int PSWERROR = 202;
    /**
     *手机号不存在
     */
    int TEL_NOT_EXIST = 203;
    /**
     * 返回失败码
     * */
    int ERROR_CODE=-1;

    int GOODSNAMEEXIST=204;
    /**
     * 手机成功码
     */
    int PHONE_SUCCESS_CODE=200;
    /**
     * 手机失败码
     */
    int PHONE_DEFEAT_CODE=400;

}
